Skip to content

Conversation

flip1995
Copy link
Member

r? @llogiq

#6500

regex is unnecessary for this lint (#6500 (comment))
lazy_static is unnecessary. The std lazy feature should be used instead.

changelog: none

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jan 30, 2021
@flip1995
Copy link
Member Author

This is blocking the sync, so I'm merging my self. This shouldn't have any impact on the lint behavior (no change in tests).

@bors r+

@bors
Copy link
Contributor

bors commented Jan 30, 2021

📌 Commit 3874631 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Jan 30, 2021

⌛ Testing commit 3874631 with merge 95c0459...

@bors
Copy link
Contributor

bors commented Jan 30, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 95c0459 to master...

@bors bors merged commit 95c0459 into rust-lang:master Jan 30, 2021
@flip1995 flip1995 deleted the no_lazy_static_regex branch January 30, 2021 17:06
@phansch
Copy link
Contributor

phansch commented Jan 30, 2021

@flip1995 wait, but what is the source of regex in our UI tests? For example: https://github.com/rust-lang/rust-clippy/blob/master/tests/ui/regex.rs

@flip1995
Copy link
Member Author

Good question, to which I don't have an answer. We have some regex deps in ui-cargo and in clippy_dev, but not in any of the actual Clippy packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants